sudo apt install python2.7
rm -rf output/*.so
python2.7 ./elfsigner/elfsigner.py -t ${1} -o output
adb wait-for-device root
adb wait-for-device remount
adb wait-for-device shell mkdir -p vendor/lib/rfsa/cdsp/testsig
adb wait-for-device push output/*.so vendor/lib/rfsa/cdsp/testsig/
adb wait-for-device reboot